﻿#if UNITY_STANDALONE || UNITY_ANDROID || UNITY_IOS || UNITY_WSA || UNITY_WEBGL
using ActorSystem;
using Net.AI;
using Net.Share;
using Net.System;
using Net.UnityComponent;

namespace Example2
{
    public class SceneManager : NetworkSceneManager
    {
        public ActorView[] actorViews;
        private readonly Scene scene = new();

        public override void Update()
        {
            base.Update();
            scene.FixedUpdate(33);
        }

        public override void OnOperationOther(in Operation opt)
        {
            scene.Dispatch(opt);
        }
    }
}
#endif